import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm'
import { OrderEntity } from '../entitys/order.entity';
import { OrderController } from './../controllers/order.controller';
import { OrderService } from './../services/order.serve'
import { AuthorModule } from '../modules/authority.module'

@Module({
  imports: [TypeOrmModule.forFeature([OrderEntity]), AuthorModule],
  controllers: [OrderController],
  providers: [OrderService],
})
export class OrderModule { }